package com.meet.api.dto.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MettActivityCreateRequestDTO {

    @NotBlank(message = "活动标题不能为空")
    private String title;

    @NotBlank(message = "活动描述不能为空")
    private String description;

    private String coverUrl;

    @NotNull(message = "活动地点不能为空")
    private MeetActivityLocationRequestDTO activityLocation;

    @NotNull(message = "活动时间不能为空")
    private MeetActivityTimeRequestDTO activityTime;

    @NotNull(message = "活动分类不能为空")
    private List<String> category;

    private String temperatureTag;

    @NotNull(message = "最大参与人数不能为空")
    private Integer maxParticipants;

    private BigDecimal fee;     // 费用字段

    private String status;
}
